package com.wk.healthclock;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class AlarmReceiver extends BroadcastReceiver{

	@Override
	public void onReceive(Context arg0, Intent arg1) {
		Intent intent=new Intent(arg0,AlarmRingActivity.class);
		intent.putExtra("clockId", arg1.getIntExtra("clockId", 0));
		intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		arg0.startActivity(intent);
	}

}
